package com.methods;

/**
 * 工作类
 * 2017-08-13
 * @author Erik
 * @version 1.0
 * @since JDK1.8
 */
public class Work {
    private String name;
    public Work(){}
    public Work(String name)    {   setName(name);  }

    public void setName(String name) {  this.name = name;   }
    public String getName()          {   return this.name;   }

    public String work(){
        String info="工作开心";
        return info;
    }
}
